package com.glowdayz.common;

import javax.mail.PasswordAuthentication;

public class SMTPAuthenticator extends javax.mail.Authenticator {
	
	private String id;
    private String pw;

    public SMTPAuthenticator(String id, String pw) {
        this.id = id;
        this.pw = pw;
    }
    
	public PasswordAuthentication getPasswordAuthentication() {  
        return new javax.mail.PasswordAuthentication(id, pw);
    }
	
}
